Skip to content

Decode Sample Rate Scale#3206

Closed
jimmunn wants to merge 1 commit intolinux-nvme:masterfrom
Micron-TPG-OSS:jlmunn/decode-sample-rate-scale
Closed

Decode Sample Rate Scale#3206
jimmunn wants to merge 1 commit intolinux-nvme:masterfrom
Micron-TPG-OSS:jlmunn/decode-sample-rate-scale

Conversation

@jimmunn
Copy link
Copy Markdown
Contributor

@jimmunn jimmunn commented Mar 24, 2026

Add human friendly decoded version of Sample Rate Scale (SRS) of the Interval Power Measurement Sample Rate (IPMSR) field in the Identify Controller Data Structure.

Add human friendly decoded version of Sample Rate Scale (SRS)
of the Interval Power Measurement Sample Rate (IPMSR) field
in the Identify Controller Data Structure.

Signed-off-by: Jim Munn <[email protected]>
@jimmunn
Copy link
Copy Markdown
Contributor Author

jimmunn commented Mar 24, 2026

Following the pattern for sqes, showing decoded valud in parens after the subfield name.

before:

ipmsr     : 0x402
  [15:8] : 0x4  Sample Rate Scale
  [7:0]  : 0x2  Sample Rate Value

msmt      : 0xffff
sqes      : 0x66
  [7:4] : 0x6   Max SQ Entry Size (64)
  [3:0] : 0x6   Min SQ Entry Size (64)

after:

ipmsr     : 0x402
  [15:8] : 0x4  Sample Rate Scale (1 millisecond)
  [7:0]  : 0x2  Sample Rate Value

msmt      : 0xffff
sqes      : 0x66
  [7:4] : 0x6   Max SQ Entry Size (64)
  [3:0] : 0x6   Min SQ Entry Size (64)

@igaw
Copy link
Copy Markdown
Collaborator

igaw commented Mar 30, 2026

After adding a subject prefix, I've merged it directly. Thanks!

@igaw igaw closed this Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants